import Vue from 'vue'
import Vuex from 'vuex'
//modules
import auth from './modules/auth'
import system from './modules/system'
import ipcam from './modules/ipcam'
import softenc from './modules/softenc'
import superhdscreen from './modules/superhdscreen'
import mtsrc from './modules/mtsrc'
import ipcsrc from './modules/ipcsrc'
import proxysrc from './modules/proxysrc'
import encoder from './modules/encoder'
import monitor from './modules/monitor'
import media from './modules/media'
import devmng from './modules/devmng'
import vidlayout from './modules/vidlayout'
import streamsrc from './modules/streamsrc'
import lcd from './modules/lcd'
import record from './modules/record'
import webapp from './modules/webapp'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    auth,
    system,
    ipcam,
    softenc,
    superhdscreen,
    mtsrc,
    ipcsrc,
    proxysrc,
    encoder,
    monitor,
    media,
    devmng,
    vidlayout,
    streamsrc,
    lcd,
    record,
    webapp
  },
  strict: true
})